package models

import "time"

type ArticleTag struct {
	ArticleID uint64    `gorm:"primaryKey;comment:文章ID"`
	TagID     uint64    `gorm:"primaryKey;index;comment:标签ID"`
	CreatedAt time.Time `gorm:"autoCreateTime;comment:关联时间"`
}

func (ArticleTag) TableName() string {
	return "article_tag"
}
